package com.xian.im.common.proto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: xian-code
 * @description:
 * @author: liru.xian
 * @create: 2021-01-23 15:39
 **/
@Data
@EqualsAndHashCode
@ApiModel(
        value = "xim 即时通讯请求消息体"
)
public class MsgRequest extends MsgMessage {


    @ApiModelProperty("out_uniqueId 合作结构消息ID，合作方自定义")
    private String outUniqueId;
    @ApiModelProperty("消息来源")
    private String fromAccount;
    @ApiModelProperty("目的地")
    private String toAccount;
    @ApiModelProperty("群组ID 如果是群组消息请带上群组的唯一ID")
    private String groupUniqueId;
    @ApiModelProperty("0 不可丢失 1 可丢失")
    private Integer safe;
}
